<!--
  @author wangxiaokun
  @date 2021-03-15 18:25:28
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>校验服务商</title>
    <th:block th:replace="common/common :: jscss"/>
    <style>
        body {
            background-color: white !important;
        }
        .text-step {
            margin: 15px 0px;
            font-size: 10px;
            color: #999999;
        }
        .layui-form-select dl {
            max-height: 185px;
        }
    </style>
</head>
<body>
<div class="layui-fluid new-order-page">
    <div class="layui-card">
        <form action="" class="layui-form" style="padding: 10px 0px">
            <div class="text-step">① 第一步：选择服务商</div>
            <div class="layui-form-item">
                <label class="layui-form-label">服务商：</label>
                <div class="layui-input-inline">
                    <select id="plat" name="plat" lay-filter="select-plat">
                        <option value="">-选择-</option>
                        <option th:each="item : ${platList}"
                                th:value="${item.key}"
                                th:text="${item.value}"></option>
                    </select>
                </div>
                <div class="layui-input-inline">
                    <select id="companyId" name="companyId" lay-filter="select-company" lay-search>
                        <option value="">-选择-</option>
                    </select>
                </div>
                <div class="layui-input-inline">
                    <div id="manageCompanyId"></div>
                    <!--<select id="manageCompanyId" name="manageCompanyId" lay-filter="select-manage-company" lay-search>
                    </select>-->
                </div>
            </div>
            <div class="text-step">② 第二步：点击校验</div>
            <div class="layui-from-item">
                <label class="layui-form-label"></label>
                <div class="layui-input-inline">
                    <button class="layui-btn" type="button" lay-filter="checkCompany" lay-submit>校验</button>
                </div>
            </div>
            <div class="text-step">③ 第三步：查看校验结果</div>
            <div class="layui-form-item">
                <label class="layui-form-label">校验结果：</label>
                <div class="layui-form-label" style="padding-left: 0px;width: 250px; text-align: left">
                    <span id="checkResult"></span>
                </div>
            </div>
        </form>
    </div>
</div>

<script th:inline="javascript">
    layui.config({
        base: "/static/js/module/",
        version: 20221013001
    }).extend({
        oms_order_checkCompany: "order/zmn.oms.order.checkCompany"
    }).use(['index', 'oms_order_checkCompany']);
</script>

</body>
</html>